package com.kaili.db.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.pojo.dto.notice.NoticeAddDTO;
import com.kaili.pojo.entity.HsOptEwb;
import com.kaili.pojo.entity.HsOptEwbNotice;
import com.baomidou.mybatisplus.service.IService;
import com.kaili.pojo.vo.EwbNoticeVO;
import com.kaili.common.exception.BaseExcept;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
public interface IHsOptEwbNoticeService extends IService<HsOptEwbNotice> {

    int createdEwbNotice(NoticeAddDTO hsOptEwbNotice) throws BaseExcept;

    void modifiedNotice(String ewbNo) throws BaseExcept;

    Page<EwbNoticeVO> queryEwbNoticeList(Page<EwbNoticeVO> page, Map search)throws BaseExcept;

}
